class CreateMemos < ActiveRecord::Migration
  def change
    create_table :memos do |t|
      t.integer :userid, :null => :no
      t.text :content
      t.integer :isdeleted, :null => false, :default => 0
      t.integer :staring, :null => false, :default => 0

      t.timestamps
    end
  end
end
